Autogenerated HTML docs for v1.3.1-g8971
diff --git a/git-update-index.html b/git-update-index.html index 1969989..00a23c7 100644 --- a/git-update-index.html +++ b/git-update-index.html
@@ -595,34 +595,76 @@ <div class="content"> <pre><tt>$ git-checkout-index -n -f -a && git-update-index --ignore-missing --refresh</tt></pre> </div></div> -<p>On an inefficient filesystem with <tt>core.ignorestat</tt> set:</p> +<dl> +<dt> +On an inefficient filesystem with <tt>core.ignorestat</tt> set +</dt> +<dd> <div class="listingblock"> <div class="content"> -<pre><tt>$ git update-index --really-refresh <b>(1)</b> -$ git update-index --no-assume-unchanged foo.c <b>(2)</b> -$ git diff --name-only <b>(3)</b> +<pre><tt>$ git update-index --really-refresh <b>(1)</b> +$ git update-index --no-assume-unchanged foo.c <b>(2)</b> +$ git diff --name-only <b>(3)</b> $ edit foo.c -$ git diff --name-only <b>(4)</b> +$ git diff --name-only <b>(4)</b> M foo.c -$ git update-index foo.c <b>(5)</b> -$ git diff --name-only <b>(6)</b> +$ git update-index foo.c <b>(5)</b> +$ git diff --name-only <b>(6)</b> $ edit foo.c -$ git diff --name-only <b>(7)</b> -$ git update-index --no-assume-unchanged foo.c <b>(8)</b> -$ git diff --name-only <b>(9)</b> -M foo.c - -<b>(1)</b> forces lstat(2) to set "assume unchanged" bits for paths - that match index. -<b>(2)</b> mark the path to be edited. -<b>(3)</b> this does lstat(2) and finds index matches the path. -<b>(4)</b> this does lstat(2) and finds index does not match the path. -<b>(5)</b> registering the new version to index sets "assume unchanged" bit. -<b>(6)</b> and it is assumed unchanged. -<b>(7)</b> even after you edit it. -<b>(8)</b> you can tell about the change after the fact. -<b>(9)</b> now it checks with lstat(2) and finds it has been changed.</tt></pre> +$ git diff --name-only <b>(7)</b> +$ git update-index --no-assume-unchanged foo.c <b>(8)</b> +$ git diff --name-only <b>(9)</b> +M foo.c</tt></pre> </div></div> +<ol> +<li> +<p> +forces lstat(2) to set "assume unchanged" bits for paths that match index. +</p> +</li> +<li> +<p> +mark the path to be edited. +</p> +</li> +<li> +<p> +this does lstat(2) and finds index matches the path. +</p> +</li> +<li> +<p> +this does lstat(2) and finds index does <strong>not</strong> match the path. +</p> +</li> +<li> +<p> +registering the new version to index sets "assume unchanged" bit. +</p> +</li> +<li> +<p> +and it is assumed unchanged. +</p> +</li> +<li> +<p> +even after you edit it. +</p> +</li> +<li> +<p> +you can tell about the change after the fact. +</p> +</li> +<li> +<p> +now it checks with lstat(2) and finds it has been changed. +</p> +</li> +</ol> +</dd> +</dl> </div> <h2>Configuration</h2> <div class="sectionbody"> @@ -654,7 +696,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 22-Feb-2006 10:44:48 UTC +Last updated 29-Apr-2006 07:01:35 UTC </div> </div> </body>